
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-deep-force-update
Advanced tools
Force-updates React component tree recursively.
Don’t use this in your application code!
You’ll only need this if you’re writing a React development tool or library like React Proxy and you want to enforce a deep update regardless of what component classes have to say.
npm install --save react-deep-force-update
Requires React 0.13 and newer.
import React from 'react'; // or 'react-native'
import getDeepForceUpdate from 'react-deep-force-update';
const deepForceUpdate = getDeepForceUpdate(React);
const instance = React.render(<Something />);
// Will force-update the whole rendered tree
// even if components in the middle of it
// define a strict shouldComponentUpdate().
deepForceUpdate(instance);
This project is based on the code written by @syranide.
MIT
FAQs
Force-updates React component tree recursively
The npm package react-deep-force-update receives a total of 138,473 weekly downloads. As such, react-deep-force-update popularity was classified as popular.
We found that react-deep-force-update demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.